﻿FlyTalk.views.TalkView = Ext.extend(Ext.Carousel, {
	id: 'talkView',
	indicator: true,
    fullscreen: true,
    layout: 'card',  

    initComponent: function () {
		
  		Ext.apply(FlyTalk.views, {
			ColumnView: new FlyTalk.views.ColumnView(),
			HotTopicsView: new FlyTalk.views.HotTopicsView(),
		//	SearchResultsView: new FlyTalk.views.SearchResultsView(),
			SearchView: new FlyTalk.views.SearchView(),
        });
		
		
		
        this.items = [
			//FlyTalk.views.ColumnView, FlyTalk.views.HotTopicsView, FlyTalk.views.SearchResultsView, FlyTalk.views.SearchView,
			FlyTalk.views.ColumnView, FlyTalk.views.HotTopicsView, FlyTalk.views.SearchView,
        ]
		
	//	this.remove(FlyTalk.views.SearchResultsView);

        FlyTalk.views.TalkView.superclass.initComponent.call(this);
    }  
});